package com.itheima.article;

import com.heima.article.ArticleApplication;
import com.heima.article.service.ApArticleService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author mrchen
 * @date 2022/7/8 10:30
 */
@SpringBootTest(classes = ArticleApplication.class)
public class PublishArticle {
    @Autowired
    ApArticleService apArticleService;

    @Test
    public void publishArticle(){
        apArticleService.publishArticle(6328);
    }
}
